<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header"></head>

<body>

    <nav th:replace="layouts::navbar"></nav>

    <div class="container">
        <p th:text="${versionNumber}"></p>

        <div>
            <br>
            <h4>图书信息</h4>

            <div class="row">
            <div class="col-md-6">
                <table class="table table-bordered table-striped">
                    <thead class="thead-dark">
                    <tr>
                        <th>图书名称</th>
                        <th>图书类型</th>
                        <th>图书编号</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr th:each="aNewBook : ${newBooks}">
                        <td th:text="${aNewBook.name}"></td>
                        <td th:text="${aNewBook.type}"></td>
                        <td th:text="${aNewBook.number}"></td>
                    </tr>
                    </tbody>
                </table>
            </div>
            </div>
            </div>
        </div>
    </div>

</body>
</html>